$OpenBSD: patch-src_script_c,v 1.2 2017/05/06 21:57:27 sthen Exp $

Index: src/script.c
--- src/script.c.orig
+++ src/script.c
@@ -32,6 +32,10 @@
 #include <config.h>
 #endif
 
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
 #include <stdarg.h>
 
 #include "port.h"
